package cn.nn200433.db.entity;

import javax.validation.constraints.NotBlank;

/**
 * 数据库参数
 *
 * @author song_jx
 * @date 2022-03-25 04:42:27
 */
public class DbParam {

    /**
     * 文档名称
     */
    @NotBlank(message = "项目名称不能为空")
    private String dbDocumentName;

    /**
     * jdbc url
     */
    @NotBlank(message = "数据库链接不能为空")
    private String jdbcUrl;

    /**
     * 用户名
     */
    @NotBlank(message = "用户名不能为空")
    private String userName;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;

    /**
     * 忽略表名称列表
     */
    private String ignoreTableNames;

    /**
     * 忽略表名前缀列表
     */
    private String ignoreTablePrefixs;

    /**
     * 忽略表名后缀列表
     */
    private String ignoreTableSuffixs;

    public String getDbDocumentName() {
        return dbDocumentName;
    }

    public void setDbDocumentName(String dbDocumentName) {
        this.dbDocumentName = dbDocumentName;
    }

    public String getJdbcUrl() {
        return jdbcUrl;
    }

    public void setJdbcUrl(String jdbcUrl) {
        this.jdbcUrl = jdbcUrl;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIgnoreTableNames() {
        return ignoreTableNames;
    }

    public void setIgnoreTableNames(String ignoreTableNames) {
        this.ignoreTableNames = ignoreTableNames;
    }

    public String getIgnoreTablePrefixs() {
        return ignoreTablePrefixs;
    }

    public void setIgnoreTablePrefixs(String ignoreTablePrefixs) {
        this.ignoreTablePrefixs = ignoreTablePrefixs;
    }

    public String getIgnoreTableSuffixs() {
        return ignoreTableSuffixs;
    }

    public void setIgnoreTableSuffixs(String ignoreTableSuffixs) {
        this.ignoreTableSuffixs = ignoreTableSuffixs;
    }

}
